package com.mce.nebula.entity;

import com.mce.nebula.common.BaseEntity;
import jakarta.persistence.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 云市应用标签关系实体，对应Python的RainbondCenterAppTagsRelation模型
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Entity
@Table(name = "rainbond_center_app_tag_relation")
public class RainbondCenterAppTagsRelation extends BaseEntity {
    
    @Column(name = "enterprise_id", length = 36)
    private String enterpriseId = "public";
    
    @Column(name = "app_id", length = 32, nullable = false)
    private String appId;
    
    @Column(name = "tag_id", nullable = false)
    private Integer tagId;
}